from django.shortcuts import render_to_response
from blog.models import *


def blog(request):

	entries = Blog.objects.all().order_by('-date')
	category = Categories.objects.all()
	favorites = Sites.objects.all()
	return render_to_response('index.html', locals()) 
	

def AboutMe(request):
	aboutme = AboutMe.objects.all()
	return render_to_response("AboutMe.html", locals()) 
	
	
def categories(request):
	return render_to_response("index.html", locals()) 
	
	